import matplotlib.pyplot as plt
score=[88,55,33,78,54,25,12,89,75,13,42,56,22,65,14,85,75,110,59,75,99,101,88]
plt.rcParams['font.sans-serif']=['SimHei']
plt.xlabel('分数')
plt.ylabel('学生数量')
plt.title('学生语文成绩分布直方图')
plt.hist(score, bins=range(0,150,10), facecolor='red',edgecolor='black')
plt.show()